package top.chengdongqing.mishop.repositories

import org.springframework.data.jpa.repository.JpaRepository
import top.chengdongqing.mishop.entities.OrderEvent

interface OrderEventRepository : JpaRepository<OrderEvent, Int> {

    fun findByOrderIdAndUserId(id: Int, userId: Int): OrderEvent?
}